{ INFORMATICS.MCCME.RU
  Problem statement: http://informatics.mccme.ru/moodle/mod/statements/view3.php?chapterid=294
  Verdict: Accepted
}
uses SysUtils, Math;
 
var
	n,m,k:longint;
 
begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(n,m,k);
write(max(n,max(m,k)));
end.